package com.example.base.param

/**
 * 创建订单的参数
 */
data class OrderCreate(
    val addressId: Int = 1218,
    val attrValueId: Int = 0,
    val couponId: Int = 0,
    val mark: String = "",
    var orderDetails: List<OrderDetail> = emptyList(),
    val payChannel: String = "weixinh5",
    val payType: String = "yue",
    val phone: String = "",
    val productId: Int = 0,
    val productNum: Int = 0,
    val realName: String = "",
    val shippingType: Int = 1,//快递配送
    val storeId: Int = 0,
    val useIntegral: Boolean = true
)

data class OrderDetail(
    val addressId: Int = 0,
    var attrValueId: Int = 0,
    val couponId: Int = 0,
    val mark: String = "",
    val orderDetails: List<Any> = emptyList(),
    val payChannel: String = "",
    val payType: String = "",
    val phone: String = "",
    var productId: Int = 0,
    var productNum: Int = 0,
    val realName: String = "",
    val shippingType: Int = 0,
    val storeId: Int = 0,
    val useIntegral: Boolean = true
)